﻿using Boggle.Net.Tests.Stubs;
using NUnit.Framework;
using TechTalk.SpecFlow;

namespace Boggle.Net.Tests
{
    [Binding]
    public class Hooks
    {
        private static TestingBootstrapper _bootstrapper;

        [BeforeFeature]
        public static void Setup()
        {
            _bootstrapper = new TestingBootstrapper();
        }

        [AfterFeature]
        public static void Teardown()
        {
            _bootstrapper.Dispose();
            _bootstrapper = null;
        }

        [BeforeScenario("Pending")]
        public static void Pending()
        {
            Assert.Inconclusive("Tagged as pending");
        }
    }
}
